/**
 * Copyright (C), 2018-2018
 * FileName: TicketServiceImpl  * Author:   lcsos
 * Date:     2018/10/9 10:42
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.spring.ticket.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * 〈一句话功能简述〉<br>  
 *TicketService接口的实现
 *
 * @author Lcs
 * @create 2018/10/9
 */

@Component//加在Spring的容器中
@Service//按照全类名进行发布 将服务发布出去 com.alibaba.dubbo.config.annotation.Service
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {
        return "《我爱你，中国！》";
    }
}
